<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入前端路由 -->
    <script src='./lib/director.min.js'></script>
    <!--引入路由的规则 -->
    <script src='./routes/index.js'></script>


</head>
<body>  
       <!--页面显示的入口 -->
       <div id="app"></div>
       <hr/>
       <ul>
            <li><a href="#/author">调用author所对应的函数</a></li>
            <li><a href="#/books">调用books所对应的函数</a></li>
      </ul>
</body>
</html>